package jok.thread;

public class Fruit {

	private String name;

	private boolean isExist;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isExist() {
		return isExist;
	}

	public void setExist(boolean isExist) {
		this.isExist = isExist;
	}

	public Fruit(String name, boolean isExist) {
		super();
		this.name = name;
		this.isExist = isExist;
	}
}
